routine < >
1 | language documentation Operators |
1.1 | (Operators) term < > |
2 | language documentation Operators |
2.1 | (Operators) postcircumfix < > |
Documentation for routine < >
assembled from the following types:
language documentation Operators
From Operators
(Operators) term < >
The quote-words construct breaks up the contents on whitespace and returns a List of the words. If a word looks like a number literal or a Pair
literal, it's converted to the appropriate number.
say <a b c>[1]; # OUTPUT: «b»
language documentation Operators
From Operators
(Operators) postcircumfix < >
Shortcut for postcircumfix { }
that quotes its argument using the same rules as the quote-words operator of the same name.
my = kiwi => "green", banana => "yellow", cherry => "red";say <banana>; # OUTPUT: «yellow»say <cherry kiwi>.perl; # OUTPUT: «("red", "green")»say <strawberry>:exists; # OUTPUT: «False»
Technically, not a real operator; it's syntactic sugar that's turned into the { }
postcircumfix operator at compile-time.